package com.woniu.smart.mapper;

import com.woniu.smart.dto.CarDTO;
import com.woniu.smart.dto.VisitorCarDTO;
import com.woniu.smart.entity.Car;
import com.woniu.smart.vo.CarVO;

import java.util.List;

/**
* @author wangheng
* @description 针对表【car】的数据库操作Mapper
* @createDate 2022-10-19 19:23:47
* @Entity com.woniu.smart.entity.Car
*/
public interface CarMapper {

    CarVO selectByCarNum(String carNum);

    int deleteByIds(List<Integer> visitorIds);


    List<CarVO>  selectAll(CarDTO carDTO);

    List<CarVO>  selectAllTwo(CarDTO carDTO);

    List<CarVO> selectDownExcel(CarDTO carDTO);

    int deleteByPrimaryKey(Long visitorId);

    int insert(Car record);

    int insertSelective(Car record);

    int insertSelectiveTwo(VisitorCarDTO record);

    Car selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);

}
